/**
 * @TODO
 *
 * @author	 wangshikun <wangshikun2010@gmail.com>
 * @copyright	(c) 2012 wangshikun <wangshikun2010@gmail.com>
 * @license	http://www.opensource.org/licenses/mit-license.php The MIT License
 * @package	default
 * @subpackage	default
 */

#include <stdio.h>
#include <cs50.h>
#include <stdlib.h>

int main(int argc, char *argv[]) {
	int numbers[10] = {1,0,0,0,0,0,0,0,0,0};
	int i, j;
	
	for (j=0; j<10; j++) {
		for (i=0; i<j; i++) {
			numbers[j] += numbers[i]; 
		}
	}

	for (j=0; j<10; j++) {
		printf("%d ", numbers[j]);
	}

	printf("\n");

	return 0;
}
